<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jstl/core_rt"%>
<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="f"%>
<body>
	<div class="wrap">
		<div class="nav">
			<div class="return">
				<a
					href="${requestScope.FPWEB.rootPath }/user/list${requestScope.FPWEB.urlStuff}">返回上一级</a>
			</div>
		</div>
		<div class="nav">
			<ul class="cc">
				<li><a
					href="${requestScope.FPWEB.rootPath }/user/basicList${requestScope.FPWEB.urlStuff}?id=${model.user_id}">基本信息</a></li>
				<li><a
					href="${requestScope.FPWEB.rootPath }/user/dataList${requestScope.FPWEB.urlStuff}?id=${model.user_id}">详细信息</a></li>
				<li><a
					href="${requestScope.FPWEB.rootPath }/user/fund${requestScope.FPWEB.urlStuff}?id=${model.user_id}">资金总览</a></li>
				<li><a
					href="${requestScope.FPWEB.rootPath }/user/fundData${requestScope.FPWEB.urlStuff}?user_id=${model.user_id}">资金明细</a></li>
				<li><a href="${requestScope.FPWEB.rootPath }/user/myReward${requestScope.FPWEB.urlStuff}?user_id=${model.user_id}">我的奖励</a></li>
				<li><a href="${requestScope.FPWEB.rootPath }/user/experience/list${requestScope.FPWEB.urlStuff}?user_id=${model.user_id}">小钱包体验金</a></li>
				<li><a
					href="${requestScope.FPWEB.rootPath }/user/creditor${requestScope.FPWEB.urlStuff}?user_id=${model.user_id}">投资明细</a></li>
				<li><a
					href="${requestScope.FPWEB.rootPath }/user/loginLogList${requestScope.FPWEB.urlStuff}?user_id=${model.user_id}">登录记录</a></li>
				<c:if
					test="${requestScope.adminData.adminModel.role==6||requestScope.adminData.adminModel.role==0}">
					<li class="current"><a
						href="${requestScope.FPWEB.rootPath }/user/edit${requestScope.FPWEB.urlStuff}?user_id=${model.user_id}">修改信息</a></li>
				</c:if>
				<li><a href="${requestScope.FPWEB.rootPath }/user/mobileHistory${requestScope.FPWEB.urlStuff}?user_id=${model.user_id}">手机变更历史记录</a></li>
				<li><a href="${requestScope.FPWEB.rootPath }/user/idcardLogList${requestScope.FPWEB.urlStuff}?user_id=${model.user_id}">身份证历史数据</a></li>
				<li><a href="${requestScope.FPWEB.rootPath }/user/vipTypeChangeLog${requestScope.FPWEB.urlStuff}?user_id=${model.user_id}">会员等级变动记录</a></li>
				<li><a
						href="${requestScope.FPWEB.rootPath }/user/jfData${requestScope.FPWEB.urlStuff}?user_id=${model.user_id}">积分明细</a></li>
			</ul>
		</div>
		<form method="post" class="J_ajaxForm" autocomplete="off">
			<div class="h_a">锁定账户</div>
			<div class="table_full">
				<table width="100%">
					<tr>
						<th width="80">账户状态</th>
						<td>${model.strMap.islock}</td>
					</tr>
					<tr>
						<th>是否锁定</th>
						<td>
							<ul class="single_list cc">
								<li><label><input name="islock" type="radio"
										value="1" <c:if test="${model.islock==1}"> checked</c:if>><span>是</span></label></li>
								<li><label><input name="islock" type="radio"
										value="0" <c:if test="${model.islock==0}"> checked</c:if>><span>否</span></label></li>
							</ul>
						</td>
					</tr>
					<tr>
						<th></th>
						<td>
							<div class="btn_wrap_pd">
								<button class="btn btn_submit mr10 J_ajax_submit_btn"
									type="button"
									data-action="${requestScope.FPWEB.rootPath }/user/update${requestScope.FPWEB.urlStuff}?user_id=${model.user_id}">提交</button>
							</div>
						</td>
					</tr>
				</table>
			</div>
		</form>
		<form method="post" class="J_ajaxForm" autocomplete="off">
			<div class="h_a">变更手机</div>
			<div class="table_full">
				<table width="100%">
					<tr>
						<th width="80">手机号</th>
						<td><input name="mobile" type="text" class="input length_3"
							value="${model.mobile}"></td>
					</tr>
					<tr>
						<th></th>
						<td>
							<div class="btn_wrap_pd">
								<button class="btn btn_submit mr10 J_ajax_submit_btn"
									type="button"
									data-action="${requestScope.FPWEB.rootPath }/user/update${requestScope.FPWEB.urlStuff}?user_id=${model.user_id}">提交</button>
							</div>
						</td>
					</tr>
				</table>
			</div>
		</form>
		<c:if test="${!(empty model.email)}">
			<form method="post" class="J_ajaxForm" autocomplete="off">
				<div class="h_a">注销邮箱</div>
				<div class="table_full">
					<table width="100%">
						<tr>
							<th width="80">当前邮箱</th>
							<td>${model.email} <input name="email" type="hidden"
								class="input length_3" value="${model.email}">
								<input name="mobile" type="hidden" class="input length_3"
								value="${model.mobile}"></td>
						</tr>
						<tr>
							<th></th>
							<td>
								<div class="btn_wrap_pd">
									<button class="btn btn_submit mr10 J_ajax_submit_btn"
										type="button"
										data-action="${requestScope.FPWEB.rootPath }/user/update${requestScope.FPWEB.urlStuff}?user_id=${model.user_id}">提交</button>
								</div>
							</td>
						</tr>
					</table>
				</div>
			</form>
		</c:if>
		<c:if test="${!(empty idInfo.idcard)}">
			<form method="post" class="J_ajaxForm" autocomplete="off">
				<div class="h_a">注销实名信息</div>
				<div class="table_full">
					<table width="100%">
						<tr>
							<th width="80">姓名</th>
							<td>${idInfo.idname}<input name="idname" type="hidden"
								class="input length_3" value="${idInfo.idname}"> <input
								name="mobile" type="hidden" class="input length_3"
								value="${model.mobile}"></td>
						</tr>
						<tr>
							<th width="80">身份证</th>
							<td>${idInfo.idcard}</td>
						</tr>
						<tr>
							<th></th>
							<td>
								<div class="btn_wrap_pd">
									<button class="btn btn_submit mr10 J_ajax_submit_btn"
										type="button"
										data-action="${requestScope.FPWEB.rootPath }/user/update${requestScope.FPWEB.urlStuff}?user_id=${model.user_id}">提交</button>
								</div>
							</td>
						</tr>
					</table>
				</div>
			</form>
		</c:if>

	</div>
	<script>
		YJD.use('AppAdminCommon');
	</script>
</body>